<template>
  <div class="box">
      <div class="top"> <router-link to='/personal' class="iconfont iconjiantou"></router-link> <div class="text">我的跟帖</div> </div>
      
      <FollowReply v-for="item in data" :key="item.id" :postdata="item" />
  </div>

</template>

<script>
import FollowReply from '@/components/module/FollowReply.vue'
export default {
    data(){
        return{
            data:''
        }
    },
    components:{
        FollowReply
    },
    created(){
        this.$axios({
            url:'/user_comments'
        }).then(res=>{
            console.log(res);
            this.data = res.data.data
        })
    }
}
</script>

<style lang="less" scoped>
   .box{
       .top{
           padding: 20/360*100vw;
           display: flex;
           margin-bottom: 15/360*100vw;
           a{
               flex: 3;
           }
           .text{
               flex: 5;
               font-weight: 700 ;
           }
       }
   }
</style>